use "dataset_city_selection", clear

keep if Fundingrel == "Yes" & Bundled == "No" & afterfloyd == 0 & ///
	OntheBallot == "Yes"

sort Year monthnum

local myvars Title Pop2010 shareblack
keep `myvars'
order `myvars'

foreach x in Title Pop2010 shareblack {
	replace `x' = "\textbf{" + `x' + "}" if ///
		regex(Title, "Oklahoma City") | regex(Title, "Baton Rouge")
}

#delimit;

listtex 
	using "_output/table A2.tex"
	,
		replace 
		type 
		rstyle(tabular) 	
		head(
		\begin{tabular}{p{0.6\textwidth}p{0.15\textwidth}
			p{0.15\textwidth}}
			\toprule Proposition & Population & Share Black \\
			\midrule
		)
		foot("\bottomrule\end{tabular}")
		;
		
#delimit cr
